package com.yin.config;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

import com.netflix.client.config.IClientConfig;
import com.netflix.loadbalancer.IRule;
import com.netflix.loadbalancer.RandomRule;
import com.yin.annotation.ExcludeComponentScan;

/**
*@author LSY
*Time: 2019年1月15日上午10:35:05
*
*
*/
/*@Configuration
@ExcludeComponentScan
public class TestConfiguration {

	@Autowired
	IClientConfig config;
	@Bean
	public IRule ribbonRule(IClientConfig config) {
		
		return new RandomRule();
	}
}*/
